package com.li.manage.action;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/test")
public class TestAction {

	@RequestMapping("/test")
	public ModelAndView test(HttpServletRequest req){
		System.out.println("--------------我是改变的");
		System.out.println("--------------我是改变的");
		ModelAndView mav = new ModelAndView("/test/test");
		String a = null;
		System.out.println(a.toString());
		return mav;
	}
	@RequestMapping("/test2")
	public ModelAndView test2(HttpServletRequest req){
		ModelAndView mav = new ModelAndView("/test/aa");
		return mav;
	}
	@RequestMapping("/testValidate")
	public ModelAndView testValidate(HttpServletRequest req){
		ModelAndView mav = new ModelAndView("/test/validateForm");
		return mav;
	}
	@RequestMapping("/validate")
	public ModelAndView validate(HttpServletRequest req){
		ModelAndView mav = new ModelAndView("/test/validateForm");
		return mav;
	}
}
